package com.liu.SRMan.service;

import java.sql.SQLException;

import org.g4studio.core.metatype.Dto;
import org.g4studio.core.model.service.BizService;
import org.g4studio.core.mvc.xstruts.upload.FormFile;

public interface LongitudinalService extends BizService {

	/**
	 * 保存纵向向项目计划
	 * 
	 * @param pDto
	 * @return
	 */
	public Dto saveApplyPlan(Dto pDto);
	
	/**
	 * 保存纵向向项目
	 * 
	 * @param pDto
	 * @return
	 */
	public Dto saveLongitudinalProject(Dto pDto);
	
	/**
	 * 保存纵向向项目署名人员
	 * 
	 * @param pDto
	 * @return
	 */
	public Dto saveMember(Dto pDto);
	
	public Dto updateLongitudinalProject(Dto pDto);
	
	public Dto deleteMembers(Dto pDto);
	
	public Dto saveInspectPlan(Dto pDto);
	
	public Dto saveInspectPlanProject(Dto pDto);
	
	public Dto newLongitudinal(Dto inDto,FormFile inFile,String user_id,String savePath) throws SQLException;
	
	public Dto updateLongitudinal(Dto inDto,FormFile inFile,String user_id,String savePath) throws SQLException;
	
	public Dto newInspectPlan(Dto inDto,FormFile inFile,String user_id,String savePath)throws SQLException;
	
	public Dto deleteLongitudinal(Dto inDto,String fileName,String savePath)throws SQLException;
	
	public Dto finishLongitudinal(Dto pDto);
	
	public Dto auditLongitudinal(Dto pDto);
}
